Problem Note 30680: Exception returned when opening an indexed table with an extra column defined in metadata using the SAS® Add-in for Microsoft Office
Using the SAS Add-in for Microsoft Office, if you attempt to open any table from a library that contains an indexed dataset as well as an extra variable defined in metadata that doesn't exist physically on the table, then you will receive an exception when you select the library. The exception reads as follows:
System.Data.OleDb.OleDbException: An error has
occurred.
at System.Data.OleDb.OleDbDataReader.PorcessResults(Int32 hr)
at System.Data.OleDb.OleDbDataReader.GetRowHandles()
at System.Data.OleDb.OleDbDataReader.ReadRowset()
at System.Data.OleDb.OleDbDataReader.Read()
at System.Data.OleDb.OleDbDataReader.HasRowsRead()
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior
behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at SAS.DatasetOpenDialog.Library.BuildFullList()
If you select OK on the exception, you can still select any table in the library,
except the table that you created with the extra column in metadata. If you attempt to open the table with the extra metadata column, you will receive a message similar to the following:
Column z is not on file library.tblename
To circumvent this problem opening the table, remove the extra column in the metadata or create a physical column that matches the metadata column.
Operating System and Release Information
SAS System | SAS Add-in for Microsoft Office | Microsoft Windows Server 2003 Standard Edition | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows XP Professional | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Windows Vista | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft® Windows® for x64 | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows 2000 Advanced Server | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows 2000 Datacenter Server | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows 2000 Server | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows 2000 Professional | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows NT Workstation | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2007-12-04 09:14:02 |
Date Created: | 2007-12-03 16:01:17 |